<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
    var age = 18;
    function test() {
        var name = "张三";
        console.log(name);
    }

    test();
</script>
</body>
</html>